import 'package:flutter/cupertino.dart';
import 'package:flutter/rendering.dart';

class CustomRootElement extends RenderObjectElement with RootElementMixin {
  CustomRootElement(super.widget);
  @override
  RenderFlex get renderObject => super.renderObject as RenderFlex;
  @override
  void insertRenderObjectChild(covariant RenderObject child, covariant Object? slot) {
    // TODO: implement insertRenderObjectChild
    final RenderFlex renderObject = this.renderObject;
  }

  @override
  void moveRenderObjectChild(covariant RenderObject child, covariant Object? oldSlot, covariant Object? newSlot) {
    // TODO: implement moveRenderObjectChild
  }

  @override
  void removeRenderObjectChild(covariant RenderObject child, covariant Object? slot) {
    // TODO: implement removeRenderObjectChild
  }

}